﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="testresult.aspx.cs" Inherits="GateTester.testresult" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Результаты тестирования</title>
</head>
<body>
    <form id="form1" runat="server" title="Результаты тестирования">
    <h1 style="text-align: center">
        Результаты тестирования</h1>
    <div>
    
    </div>
    <div style="margin-left: 40px">
        <asp:Label ID="мОтвет" runat="server"></asp:Label>
    </div>
    <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
        DataSourceID="RequestsDB" Height="50px" Width="317px">
        <Fields>
            <asp:BoundField DataField="Status" HeaderText="Статус" 
                SortExpression="Status" />
            <asp:BoundField DataField="ResponseData" HeaderText="Данные ответа" 
                SortExpression="ResponseData" />
        </Fields>
    </asp:DetailsView>
    <asp:Button ID="Button1" runat="server" Text="Обновить" />
    <asp:SqlDataSource ID="RequestsDB" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ServicesConnectionString %>" 
        SelectCommand="SELECT [Status], [ResponseData] FROM [HTTPRequests] WHERE ([id] = @id)">
        <SelectParameters>
            <asp:ControlParameter ControlID="lblID" Name="id" PropertyName="Text" 
                Type="Int64" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:Label ID="lblID" runat="server" Text="Label" Visible="False"></asp:Label>
    <br />
    <div style="margin-left: 40px">
        <asp:Button ID="кнЗанести" runat="server" Text="Занести данные партнера в БД" 
            Width="223px" />
    </div>
    </form>
</body>
</html>
